package com.spsoft.workflow.model.vo.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spsoft.core.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "申请流程信息返回数据")
public class ApplyFlowVo {
    @ApiModelProperty(value = "发起人编码")
    private String applyUser;

    @ApiModelProperty(value = "发起人姓名")
    private String applyUsername;

    @ApiModelProperty(value = "发起时间")
    @JsonFormat(pattern = DateUtils.NORM_DATETIME_PATTERN,timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "事项说明")
    private String description;

    @ApiModelProperty(value = "审批人列表")
    List<BaseUserVo> approvalUserList;

    @ApiModelProperty(value = "审批人")
    private String approvalUser;

    @ApiModelProperty(value = "审批人姓名")
    private String approvalUsername;

    @ApiModelProperty(value = "业务流程ID")
    private Long busId;

    @ApiModelProperty(value = "业务数据（json字符串）")
    private String busData;

}
